Bevel Button Text Alignment Constants
You can use the ControlButtonTextAlignment
constants to specify the alignment of text in a bevel button. These constants are passed in the inData
parameter of SetControlData
and returned by GetControlData
. The ControlButtonTextAlignment
constants are available with Appearance Manager 1.0 and later.
enum {
kControlBevelButtonAlignTextSysDirection = teFlushDefault,
kControlBevelButtonAlignTextCenter = teCenter,
kControlBevelButtonAlignTextFlushRight = teFlushRight,
kControlBevelButtonAlignTextFlushLeft = teFlushLeft
};
typedef SInt16 ControlButtonTextAlignment;
Constant descriptions
-
kControlBevelButtonAlignTextSysDirection
-
Bevel button text is aligned according to the current script direction (left or right).
-
kControlBevelButtonAlignTextCenter
-
Bevel button text is aligned center.
-
kControlBevelButtonAlignTextFlushRight
-
Bevel button text is aligned flush right.
-
kControlBevelButtonAlignTextFlushLeft
-
Bevel button text is aligned flush left.
© 1998 Apple Computer, Inc. – (Last Updated 19 Nov 98)
|